<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <title>Omipay Merchant</title>
    <link rel="stylesheet" href="plugins/sweetAlert/sweetalert.css">
    <link rel="stylesheet" href="plugins/loading-mobile/css/loading.css">
    <link rel="stylesheet" href="styles/css/main.css">
</head>
<body>
<header class="header fixd-top">
    <div class="flex flex-align">
        <div class="user-info">
            <div class="flex flex-align">
                <div class="user_pic">
                    <img src="styles/img/merchant_img.png" class="user_img">
                </div>
                <div class="user_name">
                    <h3 id="merchant-name"></h3>
                </div>
            </div>
        </div>
        <div class="add" data-toggle="modal" data-id="#addUser">
            <div class="flex flex-align flex-right">
                <span class="icon icon-add"></span>
                <span>Add User</span>
            </div>
        </div>
    </div>
</header>
<section class="main">
    <ul class="user-list" id="user-list">
        <!--<li class="user-list-item">
            <div class="userInfo">
                <div class="flex flex-between">
                    <h3 class="name">RR Sufers</h3>
                    <button type="button" class="delete-btn">Delete</button>
                </div>
            </div>
            <div class="user-roles">
                <h4 class="user-title">Roles</h4>
                <div class="role-list">
                    <p class="role-list-item">RR sufers</p>
                    <p class="role-list-item">RR sufers</p>
                    <p class="role-list-item">RR sufers</p>
                </div>
            </div>
            <div class="user-org">
                <h4 class="user-title">Organizations</h4>
                <div class="org-list">
                    <p class="org-list-item">RR sufers</p>
                    <p class="org-list-item">RR sufers</p>
                    <p class="org-list-item">RR sufers</p>
                    <p class="org-list-item">RR sufers</p>
                </div>
            </div>
        </li>-->
    </ul>
</section>

<div class="modal" id="addUser">
    <div class="flex flex-center">
        <div class="modal-content">
            <span class="close"></span>
            <div class="modal-header">
                <h3 class="title">Add User</h3>
            </div>
            <div class="modal-body">
                <form id="userInfo">
                    <div class="form-group">
                        <input type="text" class="form-control" id="name" name="name" placeholder="Name" onkeyup="removeHelp(this)">
                        <span class="help-block"></span>
                    </div>
                    <div class="form-group">
                        <input type="password" class="form-control" id="pwd" name="password" placeholder="Password" onkeyup="removeHelp(this)">
                        <span class="help-block"></span>
                    </div>
                    <div class="form-group">
                        <input type="password" class="form-control" id="rePwd" placeholder="Repeat the password" onkeyup="removeHelp(this)">
                        <span class="help-block"></span>
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" id="phone" name="phone" placeholder="Phone" onkeyup="removeHelp(this)">
                        <span class="help-block"></span>
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" id="email" name="email" placeholder="Email" onkeyup="removeHelp(this)">
                        <span class="help-block"></span>
                    </div>
                    <div class="form-group" id="roles"></div>
                    <div class="form-group" id="organizations"></div>
                    <div class="form-group">
                        <button type="button" class="form-control form-btn" onclick="merchant.addUser()">Submit</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>

<script src="plugins/jquery-1.11.3.js"></script>
<script src="plugins/sweetAlert/sweetalert.min.js"></script>
<script src="plugins/loading-mobile/js/loading.js"></script>
<script src="js/httpService.js"></script>
<script src="js/main.js"></script>
</body>
</html>